package com.yuyou.fn.educational.entity;

import java.io.Serializable;
import java.util.Date;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

/**
 *
 * 基础学生库
 *
 */
@TableName(value = "student")
public class Student implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<Student> createExample(){
		return new Example<Student>(Student.class);
	}

	/**  */
	@TableId(value = "student_id")
	private Long studentId;

	/** 名字 */
	private String name;

	/** 0:未设置 1:男 2:女 */
	private Integer sex;

	/** 电话 */
	@TableField(value = "phone_no")
	private String phoneNo;

	@TableField(value = "slave_phone_no")
	private String slavePhoneNo;

	/** 省 市 区 */
	private String location;

	/** 详细地址 */
	private String address;

	/** 在读年纪 */
	@TableField(value = "grade_id")
	private Long gradeId;

	/** 在读年级名称 */
	@TableField(value = "grade_name")
	private String gradeName;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	/** 学生编号 */
	@TableField(value = "student_no")
	private String studentNo;

	/** 学校 */
	private String school;

	/** 出生日期 */
	private Date birthday;

	/** 推荐人id */
	@TableField(value = "referrer_id")
	private Long referrerId;

	/**  */
	@TableField(value = "referrer_name")
	private String referrerName;

	/** 标签 */
	private String tags;

	/** 学生报名班级 */
	@TableField(value = "reg_class_amount")
	private Integer regClassAmount;

	/** 备注 */
	private String remark;

	/** 最近报读时间 */
	@TableField(value = "last_reg_time")
	private Date lastRegTime;

	/**  */
	@TableField(value = "last_reg_campus_id")
	private Long lastRegCampusId;

	/**  */
	@TableField(value = "last_reg_campus_name")
	private String lastRegCampusName;

	/** 向数据中心新增学生成功返回值 */
	private String cid;

	public Long getStudentId() {
		return this.studentId;
	}

	public void setStudentId(Long studentId) {
		this.studentId = studentId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getSex() {
		return this.sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getPhoneNo() {
		return this.phoneNo;
	}

	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}

	public String getSlavePhoneNo() {
		return slavePhoneNo;
	}

	public void setSlavePhoneNo(String slavePhoneNo) {
		this.slavePhoneNo = slavePhoneNo;
	}

	public String getLocation() {
		return this.location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Long getGradeId() {
		return this.gradeId;
	}

	public void setGradeId(Long gradeId) {
		this.gradeId = gradeId;
	}

	public String getGradeName() {
		return this.gradeName;
	}

	public void setGradeName(String gradeName) {
		this.gradeName = gradeName;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getStudentNo() {
		return this.studentNo;
	}

	public void setStudentNo(String studentNo) {
		this.studentNo = studentNo;
	}

	public String getSchool() {
		return this.school;
	}

	public void setSchool(String school) {
		this.school = school;
	}

	public Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Long getReferrerId() {
		return this.referrerId;
	}

	public void setReferrerId(Long referrerId) {
		this.referrerId = referrerId;
	}

	public String getReferrerName() {
		return this.referrerName;
	}

	public void setReferrerName(String referrerName) {
		this.referrerName = referrerName;
	}

	public String getTags() {
		return this.tags;
	}

	public void setTags(String tags) {
		this.tags = tags;
	}

	public Integer getRegClassAmount() {
		return this.regClassAmount;
	}

	public void setRegClassAmount(Integer regClassAmount) {
		this.regClassAmount = regClassAmount;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getLastRegTime() {
		return this.lastRegTime;
	}

	public void setLastRegTime(Date lastRegTime) {
		this.lastRegTime = lastRegTime;
	}

	public Long getLastRegCampusId() {
		return this.lastRegCampusId;
	}

	public void setLastRegCampusId(Long lastRegCampusId) {
		this.lastRegCampusId = lastRegCampusId;
	}

	public String getLastRegCampusName() {
		return this.lastRegCampusName;
	}

	public void setLastRegCampusName(String lastRegCampusName) {
		this.lastRegCampusName = lastRegCampusName;
	}

	public String getCid() {
		return this.cid;
	}

	public void setCid(String cid) {
		this.cid = cid;
	}

}
